autoboot.c: Fill env vars in process_fdt_options() only if TEXT_BASE is set
authorStefan Roese <[email protected]>
Thu, 28 Jan 2016 16:34:40 +0000 (17:34 +0100)
committerBin Meng <[email protected]>
Fri, 5 Feb 2016 04:47:20 +0000 (12:47 +0800)
commit9f73690cebfd57ff713098da8604738dbaa688ce
treeece1a304bb61d44062de694058cf548688c805ac
parent94985cc9d3d7ed991ca8b2627d5894df5ea68f49
autoboot.c: Fill env vars in process_fdt_options() only if TEXT_BASE is set

The x86 build target "efi-x86" has no TEXT_BASE configured. And with the
introduction of CONFIG_BOOTDELAY for x86, this function is now called
for this board as well. Resulting in compile errors for this target.

Without TEXT_BASE it makes no sense to fill these values. So lets only
configure the env variable if TEXT_BASE is defined.

Signed-off-by: Stefan Roese <[email protected]>
Cc: Simon Glass <[email protected]>
Cc: Bin Meng <[email protected]>
Cc: Tom Rini <[email protected]>
Reviewed-by: Simon Glass <[email protected]>
Reviewed-by: Bin Meng <[email protected]>
common/autoboot.c